<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="jobweb" uri="/jobweb-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>操作日志列表</title>
<script src="/js/niceedit/nicEdit.js" type="text/javascript"></script>
<script type="text/javascript"> 
bkLib.onDomLoaded(function() {
	new nicEditor().panelInstance('remark');
});
</script>
</head>
<body>
	<form method="post" action="/public_uw/operate_log_saveOperateLog_pageIndex=${pageIndex}">
	<jobweb:editcode mapMethodName="getMajorMap" name="selectTrade"></jobweb:editcode>
	<table border="1" align="center">
	<tr>
		<td>
			<s:textarea label="Remark" name="remark" cols="50"></s:textarea>
			<s:submit></s:submit>
		</td>
	</tr>
	</table>
	
	<table border="1" align="center">
            <tr><td>Id</td>
                <td>TypeCode</td>
                <td>UserId</td>
                <td>IP</td>
                <td>Remark</td>
                <td>Description</td>
                <td>CreateTime</td>
            </tr>
            <s:iterator value="operateLogList" status="olList">
                <tr><td><s:property value="Id"></s:property></td>
                    <td><s:property value="TypeCode"></s:property></td>
                    <td><s:property value="UserId"></s:property></td>
                    <td><s:property value="IP"></s:property></td> 
                    <td><s:property value="Remark" escape="false"></s:property></td>
                    <td><s:property value="Description" escape="false"></s:property></td>
                    <td><s:property value="CreateTime"></s:property></td>
                    <td><s:a href="/public_uw/operate_log_removeOperateLog_Id=%{Id}&pageIndex=%{pageIndex}" >删除</s:a></td>
                </tr>
            </s:iterator>
                <tr>
                    <td colspan="7">
                   		 共${pagination.pageCount}页<s:a href="/public_uw/operate_log_queryOperateLogList_pageIndex=%{pageIndex-1}">上一页</s:a>&nbsp;&nbsp;&nbsp;<s:a href="/public_uw/operate_log_queryOperateLogList_pageIndex=%{pageIndex+1}">下一页</s:a>
                    </td>
            </tr>
        </table>
        </form>
</body>
</html>